//========encoding:utf-8=========
/*
 * @describe:  三目运算符
 * @author:mhao
 * @copyright:chinasoft.cn
 * @date:2020年3月31日   上午11:33:44
 */
package edu.chinasoft.domain;

import java.util.Date;

public class Approval {
    private Integer approvalId;
    private String approvalContent;
    private Date approvalTime;
    private String approvateState;
    private User approvalUser;
    private Application application;
    private User nextApprovalUser;
	public Integer getApprovalId() {
		return approvalId;
	}
	public void setApprovalId(Integer approvalId) {
		this.approvalId = approvalId;
	}
	
	public String getApprovalContent() {
		return approvalContent;
	}

	public void setApprovalContent(String approvalContent) {
		this.approvalContent = approvalContent;
	}

	public Date getApprovalTime() {
		return approvalTime;
	}

	public void setApprovalTime(Date approvalTime) {
		this.approvalTime = approvalTime;
	}

	public User getApprovalUser() {
		return approvalUser;
	}

	public void setApprovalUser(User approvalUser) {
		this.approvalUser = approvalUser;
	}
	
	public String getApprovateState() {
		return approvateState;
	}
	public void setApprovateState(String approvateState) {
		this.approvateState = approvateState;
	}
	public Application getApplication() {
		return application;
	}
	public void setApplication(Application application) {
		this.application = application;
	}
	public User getNextApprovalUser() {
		return nextApprovalUser;
	}
	public void setNextApprovalUser(User nextApprovalUser) {
		this.nextApprovalUser = nextApprovalUser;
	}
	@Override
	public String toString() {
		return "Approval [approvalId=" + approvalId + ", approvalContent=" + approvalContent + ", approvalTime="
				+ approvalTime + "]";
	}
    
}
